backspace=2.9cm,
inleftmargin=0cm,width=4cm]
You can shorten the layout to
\setuplayout
[backspace=2.9cm,
width=4cm]
because inleftmargin and inrightmargin don't exist as layout settings
but there is leftmargin and rightmargin without the leading *in*.
You can add
Dear Pablo,
Many thanks for your example. Sorry for writing so late.
At least I found out, how it works for me . This is the best way.
\setuppapersize[A8,landscape]
\setupbodyfont[termes, 12.50pt]
\setuplayout[inrightmargin=5.1cm
backspace=2.9cm,
inleftmargin=0cm
,
way=bysection]
I actually want to (flush) left align the enumeration's number inside the
left margin and give it a blue color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse
y=bysection]
>
> I actually want to (flush) left align the enumeration's number inside the
> left margin and give it a blue color. But even if I have
>\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
> there is no alignment, no color.
>
> However, if I do
color. But even if I have
\setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.
However, if I do
\setupenumeration[verse]
[alternative=leftmargin,
text=,
width=\leftmarginwidth,
headcolor=bblue4,
distance=0em,
way=bysection]
I am able
e=Cow] \externalfigure[cow] \stopplacefigure
>
> \define[1]\MyFormulaNumber{\inleftmargin{#1}}
> \setupformula[numbercommand=\MyFormulaNumber]
>
> \inleftmargin{Left Margin Text}
> \inrightmargin{Right Margin Text}
>
> \startplaceformula[reference=eq1] \startformula c^2 =
\setupcaption[figure][location={rightmargin}]
\startplacefigure[title=Cow] \externalfigure[cow] \stopplacefigure
\define[1]\MyFormulaNumber{\inleftmargin{#1}}
\setupformula[numbercommand=\MyFormulaNumber]
\inleftmargin{Left Margin Text}
\inrightmargin{Right Margin Text}
\startplaceformula
On 7/29/19 10:27 PM, Hans Hagen wrote:
> On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
> [...]
> b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}}
Many thanks for your reply, Hans.
I didn’t know that placing margin data in notes was so complex.
Ma
\footnote{\attachment[file=i-context.pdf]}
\stoptext
Inmargin attachment from notes aren’t shown in Acrobat nor displayed in
margin. Files are embedded.
b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf
[chapter,chaptertext]
\chapter{This is a chapter}
\writetolist[chaptertext]{}{This is a small description of this chapter: \input
ward }
\input knuth.tex
\stoptext
The mkiv way:
\starttext
\unexpanded\def\ShowSummary#1#2#3%
{\inleftmargin{#1}\structurelistuservariable{summary}\blank
]
\inleftmargin{\headtextcontent}
\stopsetups
\setuphead
[section]
[alternative=head:inleftmargin,
style=bold,
color=red,
insidesection=\ignorespaces,
distance=0pt]
\showframe
\starttext
\section{Knuth}
\input knuth
\startsection[title={Tufte}]
\input knuth
\stopsection
\stoptext
[inleftmargin][strut=no]
\inleftmargin{\ifvmode yes\else no\fi}
bar
\stoptext \endinput
···
Best regards
Philipp
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
]
[\c!command=\PlaceSection,
\c!before=\blank,
\c!style=\bsa]
\def\PlaceSection#1#2%
{\goodbreak
\vbox
{\localheadsetup
\begstrut
\inleftmargin{\hbox to \leftmarginwidth{\hss#1\hss}}%
#2}}
\setupcaptions[width=14cm,align=right]
\setMPtext{text}{some test text
%
{\goodbreak
\vbox
{\localheadsetup
\begstrut
\inleftmargin{\hbox to \leftmarginwidth{\hss#1\hss}}%
#2}}
\setupcaptions[width=14cm,align=right]
\setMPtext{text}{some test text}
\startusableMPgraphic{text}
picture r ;
r := image ( graphictext
\MPstring{text
sizes of the float and grid
typesetting activated an additional line is inserted. How can I
suppress those?
··8·
\define[2]\SectionCommand
{\inleftmargin{#2}}
\setuphead [section] [
alternative=text,
style=bold,
command
[subsection][style=,command=\SubsectionCommand]
\define[2]\SectionCommand
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em
]
\setuphead[subsection][style=,command=\SubsectionCommand]
\define[2]\SectionCommand
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin
,
footer=0mm,
footerdistance=0mm,
margindistance=0mm,
height=middle,
width=middle,
grid=yes]
\setuppagenumbering[state=stop]
\setuphead[section] [style=,command=\SectionCommand]
\setuphead[subsection][style=,command=\SubsectionCommand]
\define[2]\SectionCommand
{\inleftmargin
{\inleftmargin{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle
Am 21.11.2010 um 12:28 schrieb Philipp Gesang:
Dear fellow Contexters,
there are some subheadings I’d like to place in the margin
approximately like that:
\setuplayout[grid=yes]\showgrid
\define[2]\SectionCommand
{\inleftmargin{#2}}
\setuphead
[section]
[alternative=text,
style
{\inleftmargin{#2}}
\setuphead
[section]
[alternative=text,
style=bold,
color=red,
command=\SectionCommand,
distance=0pt,
before={\blank[nowhite]}]
\starttext
\dorecurse{10}
{\section{Knuth}
\input knuth\par}
\stoptext
Wolfgang
Works like a charm, many, many
the following placebo... ;)
\starttext
\showframe
\showgrid
\def\CommandQS#1#2%
{\inleftmargin{\bf\strut\currentheadnumber}}
\setuphead[section]
[alternative=text,
command=\CommandQS,
]
\starttext
\section{} \ruledhbox{$\displaystyle {4 \over \displaystyle {1 \over 3}}$.}
\stoptext
btw
proof of concept:
\newcounter\TestNumber
\let\normaldodoplacelinenumber\dodoplacelinenumber
\def\dodoplacelinenumber
{\doglobal\increment\TestNumber
\xypos{lnm:\TestNumber}%
\ifdim\MPx{lnm:\TestNumber}.5\makeupwidth
\swapmacros\inleftmargin\inrightmargin
\fi
At 20:07 17/12/2003, you wrote:
Hello,
(first: Thanks, Hans for the answer, I added some space in
\unknownreference and a $\blacktriangleright$, but otherwise I won't
miss any reference anymore; fingers crossed.)
an option is to move the mark in the margin, \inleftmargin{...} or
something
24 matches
Mail list logo